<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<%
    String path = request.getContextPath();
	if (path.equals("/")) {path = "";}
	pageContext.setAttribute("path", path);
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <title>首页Logo设置</title>
        <link rel="shortcut icon" type="image/x-icon" href="<%=path%>/favicon.ico" >
		<script type="text/javascript" src="<%=path%>/js/jquery/jquery-1.5.1.js"></script>
		<script type="text/javascript" src="${path}/js/jquery/jquery.corner.js"></script>  
		<script type="text/javascript" src="<%=path%>/js/uploadPreview.js"></script>
		<script type="text/javascript" src="<%=path%>/js/jquery/jquery.form.js"></script>
		<link rel="stylesheet" type="text/css" href="${path}/css/manage_center.css"/>     
</head>

<body>
		<div id="right0">
			<table class="all_table">
         		<tr>
         			<td>  
       				<table class="two_table">
		         		<tr>
		         			<td>  
								<div id="image_area">
									<img id="biuuu" src="${path}/webimg/top.jpg" />
								</div>
							</td>
						</tr>
						<tr>
							<td>	
								<div id="image_upload" style="font-size:14px;">
									<div id ="upload_area">
										<form name = "form1" action ='' enctype = 'multipart/form-data'  method = "post">
											
											<input type="hidden" name="companyLink.id" value="<s:property value="#request.companyLink.id" />"/>
											<input type="file" id="picpath" accept="image/*" name="imgFile"/>																					
											<input type='text' id="path" name="path" readonly="readonly"/>
											<a href="javascript:void(0);" class="button_fy_deep" > 选取图片</a>		
											
										</form>
									</div>
<!-- 									<div id="del_button"> -->
<!-- 										<a href="javascript:void(0);" class='button_fy_deep'>恢复至默认</a>	 -->
<!-- 									</div> -->
								
									<div id="submit_button">
										<a href="javascript:void(0);" class='button_fy_deep'>上传</a>	
									</div>
								</div>
							</td>
						</tr>
						<tr>
							<td>		
								<div id="info">
									<table>
										<tr><td>1、仅提供预览，以实际效果为准</td></tr>
										<tr><td>2、仅支持jpg/jpeg图片文件(RGB色彩模式)，且小于2M</td></tr>
										<tr><td>3、建议尺寸：width >= 1002, height <= 240</td></tr>
									</table>
								</div>
							 </td>
		         		</tr>
		         	</table>
		         	</td>
         		</tr>
         	</table>
		</div>
		<script type="text/javascript">
       //变成圆角 
	   becomeCorner('all_table');
	   </script>
		
    </body>
</html>